-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Clarify list_add documentation #225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
276d4f0
to
ec73a7e
Compare
ec73a7e
to
474f638
Compare
Why did you close this pull request? |
I intended to sync my branch with the master branch on Github, but it then removes my commit and closed this pr automatically. |
Use |
I've reworked my commits already, please review. 😄 |
You don't have to leave the message for reviewing. Instead, check Requesting a pull request review:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop the statement "The checksum of list.h is also updated." to emphasize on the documentation revision.
Originally, the function list_add is said to insert a node at the beginning of a given list. However, it could also be used to insert a node after any existing node in the list. Therefore, this commit modifies its documentation to reflect the actual list manipulation performed by the function. Change-Id: I661d7a0ebb876712c8ff75deef84370a51e62f1c
415828f
to
13d8a6f
Compare
Got it, thanks! |
Thank @SimonLiu423 for contributing! |
Originally, the function list_add is said to insert a node at the beginning of a given list.
However, it could also be used to insert a node after any existing node in the list.
Therefore, this pr modifies its documentation to reflect the actual list manipulation performed by the function.